<?php

namespace Langzixiaoxin\Oauth;
use Illuminate\Contracts\Events\Dispatcher;

return function (Dispatcher $events) {
    //$events->listen(PostWillBeSaved::class, function (PostWillBeSaved $event) {
    // do stuff before a post is saved
//    });
};